5 Lecture
CS302
Midterm & Final Term Short Notes
LOGIC GATES
Logic gates are basic building blocks of digital circuits that perform logical operations on one or more binary inputs to produce a single binary output. There are several types of logic gates, including AND, OR, NOT, NAND, NOR, and XOR gates. T
Important Mcq's
Midterm & Finalterm Prepration
Past papers included
Download PDF
Which logic gate has only one input and one output? A) NOT gate B) AND gate C) OR gate D) XOR gate Answer: A) NOT gate
Which of the following is the symbol for an AND gate? A) B) C) D) Answer: B)
Which of the following logic gates is equivalent to an inverted OR gate? A) NAND gate B) NOR gate C) XOR gate D) XNOR gate Answer: B) NOR gate
Which of the following logic gates has an output that is high only if both inputs are high? A) OR gate B) AND gate C) NOT gate D) XOR gate Answer: B) AND gate
What is the output of an OR gate if both inputs are low? A) High B) Low C) Indeterminate D) Cannot be determined Answer: B) Low
Which logic gate has an output that is low only if both inputs are high? A) OR gate B) AND gate C) NOT gate D) XOR gate Answer: A) OR gate
Which of the following logic gates has an output that is high only if one of the inputs is high? A) OR gate B) AND gate C) NOT gate D) XOR gate Answer: A) OR gate
What is the output of an XOR gate if both inputs are high? A) High B) Low C) Indeterminate D) Cannot be determined Answer: B) Low
Which of the following is the symbol for a NAND gate? A) B) C) D) Answer: D)
Which of the following is the symbol for an XNOR gate? A) B) C) D) Answer: C)
I hope these help!
Subjective Short Notes
Midterm & Finalterm Prepration
Past papers included
Download PDF
What is the basic function of a NOT gate? Answer: The basic function of a NOT gate is to invert the input signal. It has only one input and one output.
What is the basic function of an AND gate? Answer: The basic function of an AND gate is to produce a high output signal only if all its input signals are high. It has two or more inputs and one output.
What is the basic function of an OR gate? Answer: The basic function of an OR gate is to produce a high output signal if any of its input signals are high. It has two or more inputs and one output.
What is the basic function of a NAND gate? Answer: The basic function of a NAND gate is to produce a low output signal if all its input signals are high. It is the combination of an AND gate followed by a NOT gate.
What is the basic function of a NOR gate? Answer: The basic function of a NOR gate is to produce a high output signal if all its input signals are low. It is the combination of an OR gate followed by a NOT gate.
What is the basic function of an XOR gate? Answer: The basic function of an XOR gate is to produce a high output signal if the number of high input signals is odd. It has two inputs and one output.
What is a truth table? Answer: A truth table is a table that shows the output of a logic gate or circuit for all possible input combinations.
What is a logic gate circuit? Answer: A logic gate circuit is a combination of logic gates that perform a specific logical operation. These circuits are used to implement complex digital systems.
What is the difference between a combinational logic circuit and a sequential logic circuit? Answer: A combinational logic circuit's output is determined solely by the input signals, while a sequential logic circuit's output is determined by both the input signals and the current state of the circuit.
What is a half adder? Answer: A half adder is a combinational logic circuit that adds two binary digits and produces a sum and a carry output.